#!/usr/bin/python
n = input("Enter number: ")
n = (n - 1) + (n - 2)
print n
